Pronamic\WordPress\Pay\Plugin D

Total Complexity 133
Dependencies 38
Dependents 25
Total lines 1,364
Lines of code 593
Logical lines of code 384
Comment lines 486
Methods 30
Properties 26

Methods 30

Method Rating Maintainability Complexity Lines of code
complement_payment()
C
36 25 78
start_payment()
A
42 10 55
maybe_redirect()
A
48 10 33
update_payment()
A
49 9 32
create_refund()
A
48 8 35
__construct()
A
38 5 77
pronamic_service()
A
46 7 38
process_payment_input_data()
S
53 7 24
plugins_loaded()
S
44 5 43
handle_returns()
S
51 6 27
get_config_select_options()
S
53 5 22
get_gateway()
S
57 4 16
plugin_locale()
S
63 4 12
is_debug_mode()
S
68 3 7
get_default_config_id()
S
64 3 10
get_pages()
S
58 2 15
render_errors()
S
66 3 8
instance()
S
71 2 6
register_styles()
S
65 2 9
get_number_payments()
S
67 2 8
get_option()
S
71 2 6
render_exception()
S
79 1 3
datetime_format()
S
75 1 4
load_plugin_textdomain()
S
71 1 5
get_plugin_dir_path()
S
80 1 3
get_file()
S
81 1 3
get_version()
S
82 1 3
get_payment_methods()
S
80 1 3
payment_redirect_url()
S
72 1 5
get_default_error_message()
S
79 1 3